package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Strategycatalog;
import cn.wolfcode.trip.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StrategycatalogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Strategycatalog record);

    Strategycatalog selectByPrimaryKey(Long id);

    List<Strategycatalog> selectForList(QueryObject qo);

    int updateByPrimaryKey(Strategycatalog record);

    Integer selectSequenceByStrategyId(@Param("strategyId") Long strategyId);

    List<Strategycatalog> selectCatalogByStrategyId(Long strategyId);
}